From d98c3e93779a3bf30abc20628936cbb942ff9b75 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 16 Sep 2008 20:18:26 +0000 Subject: [PATCH] Garmin compilation fix. --- garmin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/garmin.c b/garmin.c index 98269fd7f..9a8eb7389 100644 --- a/garmin.c +++ b/garmin.c @@ -47,6 +47,7 @@ static char *deficon = NULL; static char *category = NULL; static char *categorybitsopt = NULL; static int categorybits; +static int receiver_must_upper = 1; static ff_vecs_t *gpx_vec; @@ -971,7 +972,7 @@ route_waypt_pr(const waypoint *wpt) for (s = wpt->shortname; *s; s++) { int c = *s; if (receiver_must_upper && isalpha(c)) c = toupper(c); - if (strchr(valid_waypt_char, c)) { + if (strchr(valid_waypt_chars, c)) { *d++ = c; } } -- 2.30.2